<!DOCTYPE html>
<html style="height: 100%">
<head>
    <meta charset="utf-8">
    <script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <script type="text/javascript" src="js/echarts.js"></script>
    <script type="text/javascript" src="js/echarts-gl.min.js"></script>
    <script type="text/javascript" src="js/ecStat.min.js"></script>
    <script type="text/javascript" src="js/dataTool.min.js"></script>
    <script type="text/javascript" src="js/china.js"></script>
    <script type="text/javascript" src="js/world.js"></script>
    <script type="text/javascript"
            src="https://api.map.baidu.com/api?v=2.0&ak=bfMD5ZedpZdGzqw7XxNjPKSmjqygarjH&__ec_v__=20190126"></script>
    <script type="text/javascript" src="js/bmap.min.js"></script>
    <link href="css/layer.css" rel="stylesheet">
    <script type="text/javascript" src="js/layer.js"></script>
    <link href="css/bootstrap.min.css" rel="stylesheet">

</head>
<body style="height: 100%; margin: 0">
<div id="fbtn">
    <button type="button" class="btn btn-danger" onclick="dataHandle()">数据处理</button>
</div>

<div id="container" style="height: 100%">
</div>

<script type="text/javascript" src="js/main.js"></script>
</body>
<script>
    // 查询数据
    function search() {
        var form = $("#fbtn").serialize();
        $.ajax({
            url: "http://127.0.0.1:14028/webgis/playdayod/search",
            type: "GET",
            data: form,
            async: false,
            success: function (data) {
                console.log(data)
            }
        })
    }

    function dataHandle() {
        layer.closeAll();
        layer.open({
            type: 2,
            title: '数据处理',
            area: ['1000px', '600px'],
            fixed: false, //不固定
            shade: 0.5,
            maxmin: true,
            content: 'iframe.html'
        });
    }

</script>
<style>

    /*.fbtn {*/
    /*    position: fixed; right: 20px; bottom: 100px;z-index: 99999999;*/
    /*}*/
    #fbtn {
        position: fixed;
        left: 20px;
        top: 100px;
        z-index: 1;
    }

</style>
</html>
